export default {
  '@init'({ style }) {
    style.width = '100%'
    style.height = '400px'
  },
  '@resize': {
    options: ['width', 'height']
  },
  ':root': ({ data, slot, env }: any, cate1) => {
    cate1.items = [
      {
        title: "事件",
        items: [
          {
            title: "取坐标",
            type: "_event",
            options: {
              outputId: "onPositionPick",
            },
          },
          {
            title: "取多边形",
            type: "_event",
            options: {
              outputId: "onPolygonPick",
            },
          }
        ],
      },
    ]
  },
};
